<h1>Usuários</h1>

<table cellspacing="10" cellpadding="5" border="1">
    <thead>
        <tr>
            <th>Nome</th>
            <th>Ações</th>
        </tr>
    </thead>
    <tbody align="center" valign="middle" >
        <?php foreach ($usuarios as $usuario): ?>
            <tr>
                <td><?php echo $usuario->getNome() ?></td>
                <td><a href="<?php echo url_for('usuario/show?id=' . $usuario->getId()) ?>"> Visualizar </a></td>
            </tr>
        <?php endforeach; ?>
        </tbody>
    </table>
    <br />
    <a href="<?php echo url_for('usuario/new') ?>"><input type="button" value="Novo Usuário"</a>
